home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.3 KB | 33 lines | [TEXT/GEOL] |
- Item 1549443 19-June-90 06:18PDT
-
- From: D5369 Mgmt Sys Des, Chuck McMath,PRT
-
- To: MACAPP.TEST MacApp SQA Team
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: 'Unusual Problem'
-
- A week or so ago I posted a long message about an 'unusual problem' I was
- having that was driving me bonkers. After tearing my hair out for about a
- week, I finally solved the problem. It turns out that I was overflowing my
- stack (on Mac Plus models only) and running into the heap.
-
- I was able to check this by using the MacApp debugger, which allows you to set
- breakpoints on stack useage. Very helpful.
-
- The reason the problem showed up on a Mac Plus but not on a Mac II was that the
- stack on a Mac Plus is set to 8K, whereas the stack on a Mac II is 24K. MacApp
- has a 'mem!' resource that allows you to set the stack size, and its value is
- 8K (I suppose this is a 'lowest limit' value; if the default stack is greater
- than this, it remains where it is).
-
- And now, to the MacApp team: a suggestion to save others from this unpleasant
- ordeal: why not use the default 'mem!' resource to set the stack at 24K for
- ALL machines? This would eliminate one more difference between the two
- machines. Is there a disadvantage to doing this?
-
-
- chuck mcmath
-
-